/*******************************************************************************
* Project: QSAR(Cute Software Architecture) 
*
* Copyright: Copyright(C) 2024 by YuetingBen, All Rights Reserved
*
* File name: MemAccRte.h
*
* Brief: ;
*
* Author: Yueting.Ben
*
* Module: MemAcc
*
*******************************************************************************/

#ifndef MEMACCRTE_H
#define MEMACCRTE_H

/** HEADER FILES **/
#include "MemType.h"


/** GLOBAL FUNCTION DECLARATION **/
extern Std_ReturnType Mem_Read(
    Mem_InstanceIdType instanceId,
    Mem_AddressType sourceAddress,
    Mem_DataType* destinationDataPtr,
    Mem_LengthType length
);


extern Std_ReturnType Mem_Write(
    Mem_InstanceIdType instanceId,
    Mem_AddressType targetAddress,
    const Mem_DataType* sourceDataPtr,
    Mem_LengthType length
);


#endif
